﻿using System;
using System.Linq;
using System.Text;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Dtos
{
    ///<summary>
    /// 计划工单列表
    ///</summary>
    [ExcelExporter(Name = "计划工单列表")]
    public class TaskPlanGongDanListExportDto
    {
        public TaskPlanGongDanListExportDto()
        {
        }

        /// <summary>
        /// 计划名称
        /// </summary>     
        [ExporterHeader(DisplayName = "计划名称")]
        public string Name { get; set; }

        /// <summary>
        /// 计划类型
        /// </summary>     
        [ExporterHeader(DisplayName = "计划类型")]
        public string Type { get; set; }

        /// <summary>
        /// 路线/设备
        /// </summary>     
        [ExporterHeader(DisplayName = "路线/设备")]
        public string LineNameOrDeviceName { get; set; }

        /// <summary>
        /// 指派给
        /// </summary>     
        [ExporterHeader(DisplayName = "指派给")]
        public string Names { get; set; }

        /// <summary>
        /// 计划周期
        /// </summary>     
        [ExporterHeader(DisplayName = "计划周期")]
        public string Extra { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>     
        [ExporterHeader(DisplayName = "开始时间", Format = "yyyy-mm-DD HH:mm:ss")]
        public DateTime BeginTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>     
        [ExporterHeader(DisplayName = "结束时间", Format = "yyyy-mm-DD HH:mm:ss")]
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 状态
        /// </summary>     
        [ExporterHeader(DisplayName = "状态")]
        public string Status { get; set; }

    }
}
